<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
 	xmlns:ui="http://java.sun.com/jsf/facelets"
 	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
 	xmlns:p="http://primefaces.org/ui" >
 	
<h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="./resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
        
        
        
        <title>Login</title>
    </h:head> 	
	<div id="logo"><img src="../resources/icons/logo.png"/>
</div>

<fieldset style="width: 210px;margin:auto;box-shadow:0px 5px 8px 3px #BBB;margin-top: 30px;">
<legend><font size="2"> Login</font></legend>
<p:messages/>
 <h:form>
 
		
		<div id="logins">
			<h:outputLabel value="Login" id="logins"/><br></br>

			<h:inputText id="un" value="#{loginManager.userName}" maxlength="10"/>
		</div>
		<div id="pass">
			<h:outputLabel value="Password" id="pass"/><br></br>

			<h:inputSecret id="pw" value="#{loginManager.password}" maxlength="8"/>
		</div>
	
	<div id="botlogin">
	<h:commandButton value="Login" action="#{loginManager.verificarUsuario}"/>
	</div>
</h:form>
</fieldset> 	
</html>